package com.wanmait.recruit.mapper;

import com.wanmait.recruit.pojo.CompanyAuthc;
import com.wanmait.recruit.pojo.Person;

import java.util.List;

public interface CompanyAuthcMapper {
    Person findPersonById(Integer id);
    CompanyAuthc findByCompanyId(Integer companyId);
    int deleteByPrimaryKey(Integer id);

    int insert(CompanyAuthc record);

    int insertSelective(CompanyAuthc record);

    CompanyAuthc selectByPrimaryKey(Integer id);

    int updateByPrimaryKeySelective(CompanyAuthc record);

    int updateByPrimaryKey(CompanyAuthc record);

    List<CompanyAuthc> findAll(String companyAuthcName);

    int isPass(Integer id);

    int notPass(CompanyAuthc record);

    int deleteById(Integer id);
}